package com.patterns.demo.adapter.interfaceAdapter;

/**
 * Author: SamGroves
 * <p>
 * Description:
 * <p>
 * Date: 2017/11/29
 */
public class Test {

    public static void main(String[] args) {

        Sourceable sourceable1 =  new SourceSub1();
        System.out.println("sourceable1");
        sourceable1.method1();
        sourceable1.method2();

        Sourceable sourceable2 = new SourceSub2();
        System.out.println("sourceable2");
        sourceable2.method1();
        sourceable2.method2();
    }

}
